<?php
$cerez = $_COOKIE["kullanici"];
if ($cerez == "") {
    echo "Siz Zaten Giris Yapmadiniz ... Ne Geziyon La Bu sayfada?";
    header("refresh:1 ; url=../giris.php");
} else {
    setcookie("kullanici", "admin", time() - 3600, "/", "");
    unset($cerez);
    ?>

    <!DOCTYPE html>
    <html>
        <head>
            <title>Çıkış</title>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <link href="stylesheets/stylecss.css" rel="stylesheet" type="text/css" />
        </head>
        <body>
            <div id="form"><br />
                <form><br /><br /><br />
                    <center><h1>Çıkış Yapıyorsunuz...</h1></center><br />
                    <center> <img src="images/bekle.gif"/></center>
                </form>
            </div>
        </body>
    </html>
    <?php
    header("refresh:2 ; url=../giris.php");
}
?>